#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
	int T;
	int haha;
	cin>>T;
	while (T--) {
		cin>>haha;
		printf("1");
		for (int i=0; i<232; ++i) {
			printf("00000001");
		}
		printf("\n");
	}
	return 0;
} 
